package com.yzy.fly.entity.core;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yzy.fly.kernel.model.FlyBasicModel;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "fly_search")
public class Search extends FlyBasicModel<Integer, Search> {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer current = 1;

    private Integer size = 10;

    @TableField(exist = false)
    private List<SearchSelect> selects;
    @TableField(exist = false)
    private List<SearchWhere> wheres;

}
